package cn.edu.nju.freshdelivery.service;

import java.util.List;

import javax.annotation.Resource;

import cn.edu.nju.freshdelivery.dao.CommentDAO;
import cn.edu.nju.freshdelivery.model.Comment;
import cn.edu.nju.freshdelivery.model.Dish;

public interface CommentService {

	public CommentDAO getCommentDAO();

	@Resource
	public void setCommentDAO(CommentDAO commentDAO);

	public void add(Comment comment);

	public List<Comment> findByDish(Dish dish);

}